home *** CD-ROM | disk | FTP | other *** search
/ Freelog 121 / FreelogMagazineJuilletAout2014-No121.iso / Outils / Adobe-Air / adobe-air_13.exe / [0] / setup.swf / scripts / _FormItemStyle.as < prev    next >
Text File  |  2014-03-27  |  1KB  |  37 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _FormItemStyle
  8.    {
  9.       
  10.       private static var _embed_css_Assets_swf_mx_containers_FormItem_Required_2090376846:Class = _FormItemStyle__embed_css_Assets_swf_mx_containers_FormItem_Required_2090376846;
  11.        
  12.       
  13.       public function _FormItemStyle()
  14.       {
  15.          super();
  16.       }
  17.       
  18.       public static function init(param1:IFlexModuleFactory) : void
  19.       {
  20.          var fbs:IFlexModuleFactory = param1;
  21.          var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("FormItem");
  22.          if(!style)
  23.          {
  24.             style = new CSSStyleDeclaration();
  25.             StyleManager.setStyleDeclaration("FormItem",style,false);
  26.          }
  27.          if(style.defaultFactory == null)
  28.          {
  29.             style.defaultFactory = function():void
  30.             {
  31.                this.indicatorSkin = _embed_css_Assets_swf_mx_containers_FormItem_Required_2090376846;
  32.             };
  33.          }
  34.       }
  35.    }
  36. }
  37.